package com.jiantong.version.impl.dao;

import com.jiantong.version.model.VersionControl;
import io.terminus.common.mysql.dao.MyBatisDao;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by niufei on 2017/4/26.
 *
 */
@Repository
public class VersionControlDao extends MyBatisDao<VersionControl> {

    /**
     * 查询version control的列表（2条
     * @return VersionControl
     */
    public List<VersionControl> queryList(){
        return getSqlSession().selectList(sqlId("queryList"));
    }
}
